
/*
===============================================================================
                    EntitySpaces Studio by EntitySpaces, LLC
             Persistence Layer and Business Objects for Microsoft .NET
             EntitySpaces(TM) is a legal trademark of EntitySpaces, LLC
                          http://www.entityspaces.net
===============================================================================
EntitySpaces Version : 2012.1.0930.0
EntitySpaces Driver  : SQL
===============================================================================
*/

using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Text;
using System.Linq;
using System.Data;
using System.ComponentModel;
using System.Xml.Serialization;
using System.Runtime.Serialization;

using EntitySpaces.Core;
using EntitySpaces.Interfaces;
using EntitySpaces.DynamicQuery;


using DotNetNuke.Framework.Providers;


namespace DNNspot.PropertyAgentImport
{
	/// <summary>
	/// Encapsulates the 'Ventrian_PropertyAgent_PropertyValue' table
	/// </summary>

    [DebuggerDisplay("Data = {Debug}")]
	[Serializable]
	[DataContract]
	[KnownType(typeof(PropertyValue))]	
	[XmlType("PropertyValue")]
	public partial class PropertyValue : esPropertyValue
	{	
		[DebuggerBrowsable(DebuggerBrowsableState.RootHidden | DebuggerBrowsableState.Never)]
		protected override esEntityDebuggerView[] Debug
		{
			get { return base.Debug; }
		}

		override public esEntity CreateInstance()
		{
			return new PropertyValue();
		}
		
		#region Static Quick Access Methods
		static public void Delete(System.Int32 propertyValueID)
		{
			var obj = new PropertyValue();
			obj.PropertyValueID = propertyValueID;
			obj.AcceptChanges();
			obj.MarkAsDeleted();
			obj.Save();
		}

	    static public void Delete(System.Int32 propertyValueID, esSqlAccessType sqlAccessType)
		{
			var obj = new PropertyValue();
			obj.PropertyValueID = propertyValueID;
			obj.AcceptChanges();
			obj.MarkAsDeleted();
			obj.Save(sqlAccessType);
		}
		#endregion

		
					
		
	
	}



    [DebuggerDisplay("Count = {Count}")]
	[Serializable]
	[CollectionDataContract]
	[XmlType("PropertyValueCollection")]
	public partial class PropertyValueCollection : esPropertyValueCollection, IEnumerable<PropertyValue>
	{
		public PropertyValue FindByPrimaryKey(System.Int32 propertyValueID)
		{
			return this.SingleOrDefault(e => e.PropertyValueID == propertyValueID);
		}

		
		
		#region WCF Service Class
		
		[DataContract]
		[KnownType(typeof(PropertyValue))]
		public class PropertyValueCollectionWCFPacket : esCollectionWCFPacket<PropertyValueCollection>
		{
			public static implicit operator PropertyValueCollection(PropertyValueCollectionWCFPacket packet)
			{
				return packet.Collection;
			}

			public static implicit operator PropertyValueCollectionWCFPacket(PropertyValueCollection collection)
			{
				return new PropertyValueCollectionWCFPacket() { Collection = collection };
			}
		}
		
		#endregion
		
				
	}



    [DebuggerDisplay("Query = {Parse()}")]
	[Serializable]	
	public partial class PropertyValueQuery : esPropertyValueQuery
	{
		public PropertyValueQuery(string joinAlias)
		{
			this.es.JoinAlias = joinAlias;
		}	

		override protected string GetQueryName()
		{
			return "PropertyValueQuery";
		}
		
					
	
		#region Explicit Casts
		
		public static explicit operator string(PropertyValueQuery query)
		{
			return PropertyValueQuery.SerializeHelper.ToXml(query);
		}

		public static explicit operator PropertyValueQuery(string query)
		{
			return (PropertyValueQuery)PropertyValueQuery.SerializeHelper.FromXml(query, typeof(PropertyValueQuery));
		}
		
		#endregion		
	}

	[DataContract]
	[Serializable]
	abstract public partial class esPropertyValue : esEntity
	{
		public esPropertyValue()
		{

		}
		
		#region LoadByPrimaryKey
		public virtual bool LoadByPrimaryKey(System.Int32 propertyValueID)
		{
			if(this.es.Connection.SqlAccessType == esSqlAccessType.DynamicSQL)
				return LoadByPrimaryKeyDynamic(propertyValueID);
			else
				return LoadByPrimaryKeyStoredProcedure(propertyValueID);
		}

		public virtual bool LoadByPrimaryKey(esSqlAccessType sqlAccessType, System.Int32 propertyValueID)
		{
			if (sqlAccessType == esSqlAccessType.DynamicSQL)
				return LoadByPrimaryKeyDynamic(propertyValueID);
			else
				return LoadByPrimaryKeyStoredProcedure(propertyValueID);
		}

		private bool LoadByPrimaryKeyDynamic(System.Int32 propertyValueID)
		{
			PropertyValueQuery query = new PropertyValueQuery();
			query.Where(query.PropertyValueID == propertyValueID);
			return this.Load(query);
		}

		private bool LoadByPrimaryKeyStoredProcedure(System.Int32 propertyValueID)
		{
			esParameters parms = new esParameters();
			parms.Add("PropertyValueID", propertyValueID);
			return this.Load(esQueryType.StoredProcedure, this.es.spLoadByPrimaryKey, parms);
		}
		#endregion
		
		#region Properties
		
		
		
		/// <summary>
		/// Maps to Ventrian_PropertyAgent_PropertyValue.PropertyValueID
		/// </summary>
		[DataMember(EmitDefaultValue=false)]
		virtual public System.Int32? PropertyValueID
		{
			get
			{
				return base.GetSystemInt32(PropertyValueMetadata.ColumnNames.PropertyValueID);
			}
			
			set
			{
				if(base.SetSystemInt32(PropertyValueMetadata.ColumnNames.PropertyValueID, value))
				{
					OnPropertyChanged(PropertyValueMetadata.PropertyNames.PropertyValueID);
				}
			}
		}		
		
		/// <summary>
		/// Maps to Ventrian_PropertyAgent_PropertyValue.PropertyID
		/// </summary>
		[DataMember(EmitDefaultValue=false)]
		virtual public System.Int32? PropertyID
		{
			get
			{
				return base.GetSystemInt32(PropertyValueMetadata.ColumnNames.PropertyID);
			}
			
			set
			{
				if(base.SetSystemInt32(PropertyValueMetadata.ColumnNames.PropertyID, value))
				{
					this._UpToPropertyByPropertyID = null;
					this.OnPropertyChanged("UpToPropertyByPropertyID");
					OnPropertyChanged(PropertyValueMetadata.PropertyNames.PropertyID);
				}
			}
		}		
		
		/// <summary>
		/// Maps to Ventrian_PropertyAgent_PropertyValue.CustomFieldID
		/// </summary>
		[DataMember(EmitDefaultValue=false)]
		virtual public System.Int32? CustomFieldID
		{
			get
			{
				return base.GetSystemInt32(PropertyValueMetadata.ColumnNames.CustomFieldID);
			}
			
			set
			{
				if(base.SetSystemInt32(PropertyValueMetadata.ColumnNames.CustomFieldID, value))
				{
					this._UpToCustomFieldByCustomFieldID = null;
					this.OnPropertyChanged("UpToCustomFieldByCustomFieldID");
					OnPropertyChanged(PropertyValueMetadata.PropertyNames.CustomFieldID);
				}
			}
		}		
		
		/// <summary>
		/// Maps to Ventrian_PropertyAgent_PropertyValue.CustomValue
		/// </summary>
		[DataMember(EmitDefaultValue=false)]
		virtual public System.String CustomValue
		{
			get
			{
				return base.GetSystemString(PropertyValueMetadata.ColumnNames.CustomValue);
			}
			
			set
			{
				if(base.SetSystemString(PropertyValueMetadata.ColumnNames.CustomValue, value))
				{
					OnPropertyChanged(PropertyValueMetadata.PropertyNames.CustomValue);
				}
			}
		}		
		
		[CLSCompliant(false)]
		internal protected CustomField _UpToCustomFieldByCustomFieldID;
		[CLSCompliant(false)]
		internal protected Property _UpToPropertyByPropertyID;
		#endregion	

		#region .str() Properties
		
		public override void SetProperties(IDictionary values)
		{
			foreach (string propertyName in values.Keys)
			{
				this.SetProperty(propertyName, values[propertyName]);
			}
		}
		
		public override void SetProperty(string name, object value)
		{
			esColumnMetadata col = this.Meta.Columns.FindByPropertyName(name);
			if (col != null)
			{
				if(value == null || value is System.String)
				{				
					// Use the strongly typed property
					switch (name)
					{							
						case "PropertyValueID": this.str().PropertyValueID = (string)value; break;							
						case "PropertyID": this.str().PropertyID = (string)value; break;							
						case "CustomFieldID": this.str().CustomFieldID = (string)value; break;							
						case "CustomValue": this.str().CustomValue = (string)value; break;
					}
				}
				else
				{
					switch (name)
					{	
						case "PropertyValueID":
						
							if (value == null || value is System.Int32)
								this.PropertyValueID = (System.Int32?)value;
								OnPropertyChanged(PropertyValueMetadata.PropertyNames.PropertyValueID);
							break;
						
						case "PropertyID":
						
							if (value == null || value is System.Int32)
								this.PropertyID = (System.Int32?)value;
								OnPropertyChanged(PropertyValueMetadata.PropertyNames.PropertyID);
							break;
						
						case "CustomFieldID":
						
							if (value == null || value is System.Int32)
								this.CustomFieldID = (System.Int32?)value;
								OnPropertyChanged(PropertyValueMetadata.PropertyNames.CustomFieldID);
							break;
					

						default:
							break;
					}
				}
			}
            else if (this.ContainsColumn(name))
            {
                this.SetColumn(name, value);
            }
			else
			{
				throw new Exception("SetProperty Error: '" + name + "' not found");
			}
		}		

		public esStrings str()
		{
			if (esstrings == null)
			{
				esstrings = new esStrings(this);
			}
			return esstrings;
		}

		sealed public class esStrings
		{
			public esStrings(esPropertyValue entity)
			{
				this.entity = entity;
			}
			
	
			public System.String PropertyValueID
			{
				get
				{
					System.Int32? data = entity.PropertyValueID;
					return (data == null) ? String.Empty : Convert.ToString(data);
				}

				set
				{
					if (value == null || value.Length == 0) entity.PropertyValueID = null;
					else entity.PropertyValueID = Convert.ToInt32(value);
				}
			}
				
			public System.String PropertyID
			{
				get
				{
					System.Int32? data = entity.PropertyID;
					return (data == null) ? String.Empty : Convert.ToString(data);
				}

				set
				{
					if (value == null || value.Length == 0) entity.PropertyID = null;
					else entity.PropertyID = Convert.ToInt32(value);
				}
			}
				
			public System.String CustomFieldID
			{
				get
				{
					System.Int32? data = entity.CustomFieldID;
					return (data == null) ? String.Empty : Convert.ToString(data);
				}

				set
				{
					if (value == null || value.Length == 0) entity.CustomFieldID = null;
					else entity.CustomFieldID = Convert.ToInt32(value);
				}
			}
				
			public System.String CustomValue
			{
				get
				{
					System.String data = entity.CustomValue;
					return (data == null) ? String.Empty : Convert.ToString(data);
				}

				set
				{
					if (value == null || value.Length == 0) entity.CustomValue = null;
					else entity.CustomValue = Convert.ToString(value);
				}
			}
			

			private esPropertyValue entity;
		}
		
		[NonSerialized]
		private esStrings esstrings;		
		
		#endregion
		
		#region Housekeeping methods

		override protected IMetadata Meta
		{
			get
			{
				return PropertyValueMetadata.Meta();
			}
		}

		#endregion		
		
		#region Query Logic

		public PropertyValueQuery Query
		{
			get
			{
				if (this.query == null)
				{
					this.query = new PropertyValueQuery();
					InitQuery(this.query);
				}

				return this.query;
			}
		}

		public bool Load(PropertyValueQuery query)
		{
			this.query = query;
			InitQuery(this.query);
			return this.Query.Load();
		}
		
		protected void InitQuery(PropertyValueQuery query)
		{
			query.OnLoadDelegate = this.OnQueryLoaded;
			
			if (!query.es2.HasConnection)
			{
				query.es2.Connection = ((IEntity)this).Connection;
			}			
		}

		#endregion
		
        [IgnoreDataMember]
		private PropertyValueQuery query;		
	}



	[Serializable]
	abstract public partial class esPropertyValueCollection : esEntityCollection<PropertyValue>
	{
		#region Housekeeping methods
		override protected IMetadata Meta
		{
			get
			{
				return PropertyValueMetadata.Meta();
			}
		}

		protected override string GetCollectionName()
		{
			return "PropertyValueCollection";
		}

		#endregion		
		
		#region Query Logic

	#if (!WindowsCE)
		[BrowsableAttribute(false)]
	#endif
		public PropertyValueQuery Query
		{
			get
			{
				if (this.query == null)
				{
					this.query = new PropertyValueQuery();
					InitQuery(this.query);
				}

				return this.query;
			}
		}

		public bool Load(PropertyValueQuery query)
		{
			this.query = query;
			InitQuery(this.query);
			return Query.Load();
		}

		override protected esDynamicQuery GetDynamicQuery()
		{
			if (this.query == null)
			{
				this.query = new PropertyValueQuery();
				this.InitQuery(query);
			}
			return this.query;
		}

		protected void InitQuery(PropertyValueQuery query)
		{
			query.OnLoadDelegate = this.OnQueryLoaded;
			
			if (!query.es2.HasConnection)
			{
				query.es2.Connection = ((IEntityCollection)this).Connection;
			}			
		}

		protected override void HookupQuery(esDynamicQuery query)
		{
			this.InitQuery((PropertyValueQuery)query);
		}

		#endregion
		
		private PropertyValueQuery query;
	}



	[Serializable]
	abstract public partial class esPropertyValueQuery : esDynamicQuery
	{
		override protected IMetadata Meta
		{
			get
			{
				return PropertyValueMetadata.Meta();
			}
		}	
		
		#region QueryItemFromName
		
        protected override esQueryItem QueryItemFromName(string name)
        {
            switch (name)
            {
				case "PropertyValueID": return this.PropertyValueID;
				case "PropertyID": return this.PropertyID;
				case "CustomFieldID": return this.CustomFieldID;
				case "CustomValue": return this.CustomValue;

                default: return null;
            }
        }		
		
		#endregion
		
		#region esQueryItems

		public esQueryItem PropertyValueID
		{
			get { return new esQueryItem(this, PropertyValueMetadata.ColumnNames.PropertyValueID, esSystemType.Int32); }
		} 
		
		public esQueryItem PropertyID
		{
			get { return new esQueryItem(this, PropertyValueMetadata.ColumnNames.PropertyID, esSystemType.Int32); }
		} 
		
		public esQueryItem CustomFieldID
		{
			get { return new esQueryItem(this, PropertyValueMetadata.ColumnNames.CustomFieldID, esSystemType.Int32); }
		} 
		
		public esQueryItem CustomValue
		{
			get { return new esQueryItem(this, PropertyValueMetadata.ColumnNames.CustomValue, esSystemType.String); }
		} 
		
		#endregion
		
	}


	
	public partial class PropertyValue : esPropertyValue
	{

				
		#region UpToCustomFieldByCustomFieldID - Many To One
		/// <summary>
		/// Many to One
		/// Foreign Key Name - FK_Ventrian_EstateAgent_PropertyValue_Ventrian_EstateAgent_CustomField
		/// </summary>

		[XmlIgnore]
					
		public CustomField UpToCustomFieldByCustomFieldID
		{
			get
			{
				if (this.es.IsLazyLoadDisabled) return null;
				
				if(this._UpToCustomFieldByCustomFieldID == null && CustomFieldID != null)
				{
					this._UpToCustomFieldByCustomFieldID = new CustomField();
					this._UpToCustomFieldByCustomFieldID.es.Connection.Name = this.es.Connection.Name;
					this.SetPreSave("UpToCustomFieldByCustomFieldID", this._UpToCustomFieldByCustomFieldID);
					this._UpToCustomFieldByCustomFieldID.Query.Where(this._UpToCustomFieldByCustomFieldID.Query.CustomFieldID == this.CustomFieldID);
					this._UpToCustomFieldByCustomFieldID.Query.Load();
				}	
				return this._UpToCustomFieldByCustomFieldID;
			}
			
			set
			{
				this.RemovePreSave("UpToCustomFieldByCustomFieldID");
				

				if(value == null)
				{
					this.CustomFieldID = null;
					this._UpToCustomFieldByCustomFieldID = null;
				}
				else
				{
					this.CustomFieldID = value.CustomFieldID;
					this._UpToCustomFieldByCustomFieldID = value;
					this.SetPreSave("UpToCustomFieldByCustomFieldID", this._UpToCustomFieldByCustomFieldID);
				}
				
			}
		}
		#endregion
		

				
		#region UpToPropertyByPropertyID - Many To One
		/// <summary>
		/// Many to One
		/// Foreign Key Name - FK_Ventrian_EstateAgent_PropertyValue_Ventrian_EstateAgent_Property
		/// </summary>

		[XmlIgnore]
					
		public Property UpToPropertyByPropertyID
		{
			get
			{
				if (this.es.IsLazyLoadDisabled) return null;
				
				if(this._UpToPropertyByPropertyID == null && PropertyID != null)
				{
					this._UpToPropertyByPropertyID = new Property();
					this._UpToPropertyByPropertyID.es.Connection.Name = this.es.Connection.Name;
					this.SetPreSave("UpToPropertyByPropertyID", this._UpToPropertyByPropertyID);
					this._UpToPropertyByPropertyID.Query.Where(this._UpToPropertyByPropertyID.Query.PropertyID == this.PropertyID);
					this._UpToPropertyByPropertyID.Query.Load();
				}	
				return this._UpToPropertyByPropertyID;
			}
			
			set
			{
				this.RemovePreSave("UpToPropertyByPropertyID");
				

				if(value == null)
				{
					this.PropertyID = null;
					this._UpToPropertyByPropertyID = null;
				}
				else
				{
					this.PropertyID = value.PropertyID;
					this._UpToPropertyByPropertyID = value;
					this.SetPreSave("UpToPropertyByPropertyID", this._UpToPropertyByPropertyID);
				}
				
			}
		}
		#endregion
		

		
		/// <summary>
		/// Used internally for retrieving AutoIncrementing keys
		/// during hierarchical PreSave.
		/// </summary>
		protected override void ApplyPreSaveKeys()
		{
			if(!this.es.IsDeleted && this._UpToCustomFieldByCustomFieldID != null)
			{
				this.CustomFieldID = this._UpToCustomFieldByCustomFieldID.CustomFieldID;
			}
			if(!this.es.IsDeleted && this._UpToPropertyByPropertyID != null)
			{
				this.PropertyID = this._UpToPropertyByPropertyID.PropertyID;
			}
		}
		
	}
	



	[Serializable]
	public partial class PropertyValueMetadata : esMetadata, IMetadata
	{
		#region Protected Constructor
		protected PropertyValueMetadata()
		{
			m_columns = new esColumnMetadataCollection();
			esColumnMetadata c;

			c = new esColumnMetadata(PropertyValueMetadata.ColumnNames.PropertyValueID, 0, typeof(System.Int32), esSystemType.Int32);
			c.PropertyName = PropertyValueMetadata.PropertyNames.PropertyValueID;
			c.IsInPrimaryKey = true;
			c.IsAutoIncrement = true;
			c.NumericPrecision = 10;
			m_columns.Add(c);
				
			c = new esColumnMetadata(PropertyValueMetadata.ColumnNames.PropertyID, 1, typeof(System.Int32), esSystemType.Int32);
			c.PropertyName = PropertyValueMetadata.PropertyNames.PropertyID;
			c.NumericPrecision = 10;
			m_columns.Add(c);
				
			c = new esColumnMetadata(PropertyValueMetadata.ColumnNames.CustomFieldID, 2, typeof(System.Int32), esSystemType.Int32);
			c.PropertyName = PropertyValueMetadata.PropertyNames.CustomFieldID;
			c.NumericPrecision = 10;
			m_columns.Add(c);
				
			c = new esColumnMetadata(PropertyValueMetadata.ColumnNames.CustomValue, 3, typeof(System.String), esSystemType.String);
			c.PropertyName = PropertyValueMetadata.PropertyNames.CustomValue;
			c.CharacterMaxLength = 1073741823;
			m_columns.Add(c);
				
		}
		#endregion	
	
		static public PropertyValueMetadata Meta()
		{
			return meta;
		}	
		
		public Guid DataID
		{
			get { return base.m_dataID; }
		}	
		
		public bool MultiProviderMode
		{
			get { return false; }
		}		

		public esColumnMetadataCollection Columns
		{
			get	{ return base.m_columns; }
		}
		
		#region ColumnNames
		public class ColumnNames
		{ 
			 public const string PropertyValueID = "PropertyValueID";
			 public const string PropertyID = "PropertyID";
			 public const string CustomFieldID = "CustomFieldID";
			 public const string CustomValue = "CustomValue";
		}
		#endregion	
		
		#region PropertyNames
		public class PropertyNames
		{ 
			 public const string PropertyValueID = "PropertyValueID";
			 public const string PropertyID = "PropertyID";
			 public const string CustomFieldID = "CustomFieldID";
			 public const string CustomValue = "CustomValue";
		}
		#endregion	

		public esProviderSpecificMetadata GetProviderMetadata(string mapName)
		{
			MapToMeta mapMethod = mapDelegates[mapName];

			if (mapMethod != null)
				return mapMethod(mapName);
			else
				return null;
		}
		
		#region MAP esDefault
		
		static private int RegisterDelegateesDefault()
		{
			// This is only executed once per the life of the application
			lock (typeof(PropertyValueMetadata))
			{
				if(PropertyValueMetadata.mapDelegates == null)
				{
					PropertyValueMetadata.mapDelegates = new Dictionary<string,MapToMeta>();
				}
				
				if (PropertyValueMetadata.meta == null)
				{
					PropertyValueMetadata.meta = new PropertyValueMetadata();
				}
				
				MapToMeta mapMethod = new MapToMeta(meta.esDefault);
				mapDelegates.Add("esDefault", mapMethod);
				mapMethod("esDefault");
			}
			return 0;
		}			

		private esProviderSpecificMetadata esDefault(string mapName)
		{
			if(!m_providerMetadataMaps.ContainsKey(mapName))
			{
				esProviderSpecificMetadata meta = new esProviderSpecificMetadata();			


				meta.AddTypeMap("PropertyValueID", new esTypeMap("int", "System.Int32"));
				meta.AddTypeMap("PropertyID", new esTypeMap("int", "System.Int32"));
				meta.AddTypeMap("CustomFieldID", new esTypeMap("int", "System.Int32"));
				meta.AddTypeMap("CustomValue", new esTypeMap("ntext", "System.String"));			
				
				
				
				ProviderConfiguration providerConfiguration = ProviderConfiguration.GetProviderConfiguration("data");
				Provider provider = (Provider)providerConfiguration.Providers[providerConfiguration.DefaultProvider];

				string objectQualifier = provider.Attributes["objectQualifier"];

				if ((objectQualifier != string.Empty) && (objectQualifier.EndsWith("_") == false))
				{
					objectQualifier += "_";
				}

				if (objectQualifier != string.Empty)
				{
					meta.Source = objectQualifier + "Ventrian_PropertyAgent_PropertyValue";
					meta.Destination = objectQualifier + "Ventrian_PropertyAgent_PropertyValue";
					
					meta.spInsert = objectQualifier + "proc_Ventrian_PropertyAgent_PropertyValueInsert";				
					meta.spUpdate = objectQualifier + "proc_Ventrian_PropertyAgent_PropertyValueUpdate";		
					meta.spDelete = objectQualifier + "proc_Ventrian_PropertyAgent_PropertyValueDelete";
					meta.spLoadAll = objectQualifier + "proc_Ventrian_PropertyAgent_PropertyValueLoadAll";
					meta.spLoadByPrimaryKey = objectQualifier + "proc_Ventrian_PropertyAgent_PropertyValueLoadByPrimaryKey";
				}
				else
				{
					meta.Source = "Ventrian_PropertyAgent_PropertyValue";
					meta.Destination = "Ventrian_PropertyAgent_PropertyValue";
									
					meta.spInsert = "proc_Ventrian_PropertyAgent_PropertyValueInsert";				
					meta.spUpdate = "proc_Ventrian_PropertyAgent_PropertyValueUpdate";		
					meta.spDelete = "proc_Ventrian_PropertyAgent_PropertyValueDelete";
					meta.spLoadAll = "proc_Ventrian_PropertyAgent_PropertyValueLoadAll";
					meta.spLoadByPrimaryKey = "proc_Ventrian_PropertyAgent_PropertyValueLoadByPrimaryKey";
				}
				
				
				this.m_providerMetadataMaps["esDefault"] = meta;
			}
			
			return this.m_providerMetadataMaps["esDefault"];
		}

		#endregion

		static private PropertyValueMetadata meta;
		static protected Dictionary<string, MapToMeta> mapDelegates;
		static private int _esDefault = RegisterDelegateesDefault();
	}
}
